package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.vo.OrderListVo;
import com.qf.commerce.entity.Address;
import com.qf.commerce.entity.OrderList;
import com.qf.commerce.common.dto.OrderListDto;
import com.qf.commerce.vo.CommodityEvaluateVo;

import java.util.List;

/**
 * 出品人:lsj
 * 1992915043@qq
 */
public interface OrderListService {
    OrderList getOrderListByOrderStatus(Integer orderStatus );

    //询单页面
    List<OrderList> getInquiryByOrderStatus(Integer orderStatus );
    //待付定金界面
    List<OrderList> getDepositPendingByOrderStatus(Integer orderStatus );
    //开启尾款支付
    List<OrderList> getBalancePaymentByOrderStatusOrderStatus(Integer orderStatus );
    List<OrderList> getBalancePaidByOrderStatusByOrderStatusOrderStatus(Integer orderStatus );
    List<OrderList> getAwaitReceiveGoodsByOrderStatus(Integer orderStatus );
    //待付尾款  多阶段开启
    List<OrderList> getOpenMultiphaseByOrderStatus(Integer orderStatus );
    //待付尾款-多阶段发货
    List<OrderList> getMultistageDeliveryByOrderStatus(Integer orderStatus );
    //多阶段发货-待收货
    List<OrderList> getAwaitReceiveGoodByOrderStatus(Integer orderStatus );
    //已完成订单
    List<OrderList> getCompleteOrderByOrderStatusByOrderStatus(Integer orderStatus );
    //待评价
    List<OrderList> getRemainEevaluatedByOrderStatus(Integer orderStatus );
    //已取消订单
    List<OrderList> getCancelledOrderByOrderStatus(Integer orderStatus );
    //订单列表
   PageInfo<OrderListVo> getOrderPageByOrderList(OrderListDto orderListDto, Integer page, Integer size);
   //批量删除订单列表
    int deleteOrderList(List<Long> orderId);
    //更新订单
    int getUpdateOrderList(Address address);

}
